//
//  DemandItemContentView.swift
//  PropertyCommunity
//
//  Created by benwang on 2021/7/1.
//

import UIKit

class DemandItemContentView: UIView {

  @IBOutlet weak var statusLabel: UILabel!

  var status = DemandStatus.unpaidFee {
    didSet {
      statusLabel.text = status.rawValue
      statusLabel.textColor = status == .unpaidFee ? .designKit.accent : .designKit.primaryText
    }
  }

    /*
    // Only override draw() if you perform custom drawing.
    // An empty implementation adversely affects performance during animation.
    override func draw(_ rect: CGRect) {
        // Drawing code
    }
    */

}
